import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";

export class LoginDto {
  @ApiProperty({ description: "用户名" })
  username: string;

  @ApiProperty({ description: "密码" })
  password: string;

  @ApiPropertyOptional({ description: "租户编号" })
  tenantId: string;
}
